<?php
session_start();

if(!isset($_SESSION['id'])){
	header('Location:login.php');
}
$username=$_SESSION['username'];
$connetc=mysql_connect("localhost","root","");
mysql_select_db("shenji",$connetc);
mysql_query("set names utf8");
$sql4="select * from user where username='$username'";

$result4=mysql_query($sql4);
$row4=mysql_num_rows($result4);


if($row4==0){
	echo "<script>alert('用户不存在，请重新登录！');top.location.href='./login.php'</script>";
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<title>云盾升级中心</title>
</head>

<frameset  rows="80px,*" border="0">
    <frame src="top.php" name="topFrame" scrolling="no"/>
	<frameset cols="200px,*" border="0">
		<frame name="left" src="left2.php" scrolling="no">
		<frame name="right" src="select_user.php" scrolling="yes">
	</frameset>	
</frameset>


</html>

